package com.test.quartz.jdbc.mapper;

import com.test.quartz.jdbc.bean.Task;
import com.test.quartz.jdbc.bean.Trigger;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TriggerMapper {

    Trigger findByName(String name);

    List<Task> findAll();

}
